package chaoyue.study.jul;

import java.util.logging.Logger;

/**
 * 测试父子Logger
 */
public class Test2 {
    public static void main(String[] args) {
        Logger logger1 = Logger.getLogger("chaoyue.study");
        Logger logger2 = Logger.getLogger("chaoyue.study.jul.Test2");
        System.out.println(logger1);
        System.out.println(logger2.getParent());
        System.out.println(logger1.getParent());
    }
}
